<div class="detail-comment">
	<form class="add-comment" id="js-add-comment">
		<span class="tit">发布评论</span>
		<textarea class="js-add-textarea"></textarea>
		<div class="add-btn"><button type="submit" class="btn btn-default">发布</button></div>
	</form>
	<div class="comment-list">
		<?php foreach($result as $val) { ?>
			<div class="comment-item">
				<div class="info">
					<a href="/dog_u<?php echo $val['UserId'] ?>.html"><img class="hd" src="<?php echo !empty($val['Photo']) ? \Util\User::getUserPhoto($val['Photo'], 200, 200) : '/Resource/images/nohead_new.jpg'; ?>" /></a>
					<div class="txt">
						<p><a href="/dog_u<?php echo $val['UserId'] ?>.html" class=""><?php echo $val['Username'] ? $val['Username'] : $val['Email'] ?></a>: <?php echo $val['Content']; ?></p>
						<p>
							<?php echo date('Y-m-d H:i:s', $val['CreateTime']) ?>
							<!-- | <a href="" class="blue_font">回复</a>-->
						</p>
					</div>
				</div>
				<div class="reply-list hide">
					<div class="info">
						<a href=""><img src="" /></a>
						<div class="txt">
							<p><a href="" class="">李明哲</a> 回复 <a href="" class="">李明哲</a>: 真好看，我家也是博美3个多月了，不过现在得了细小正在治病</p>
							<p><?php echo date('Y-m-d H:i:s', $val['CreateTime']) ?> | <a href="" class="blue_font">回复</a></p>
						</div>
					</div>
				</div>
			</div>
		<?php } ?>
		<?php \Controller\UC\Pager::instance()->run(array('pager' => $pager)) ?>
	</div>
</div>
<script>
	$('#js-show-comment-count').html('评论（' + <?php echo $pager->count ?> + '）');
</script>